@import '@/style/imports';

.page-distribution-trade {
  height: calc(100vh - 184px);
  .trade-list__tabs_web {
    // 浏览器（不包含微信浏览器）
    // margin-top: $navigate-height-h5;
  }

  .trade-list__scroll {
    @include page-scroll($tabs-height + $navigate-height, 120px+40px);
    /*  #ifdef  h5  */
    @include page-scroll($tabs-height + $navigate-height-h5, 120px+40px);
    top: 164px;
    /*  #endif  */
    height: calc(100vh - 330px);
  }

  .trade-list__scroll_web {
    // 浏览器（不包含微信浏览器）
    // top: $tabs-height + $navigate-height-h5 + 30px +74px;
    top: 168px + $navigate-height-h5;
    bottom: 120px + 40px;
    height: calc(100vh - (290px + 92px + 40px));
  }

  .trade-list__scroll {
    background-color: #f5f6f8;

    &__section {
      background-color: #f5f6f8;
      padding: 0 0 10px 0;
    }

    &__list-item {
      margin: 20px;
      background-color: white;
      padding: 10px;
      border-radius: 16px;
    }
  }

  .list-item-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 2px solid #efefef;
  }

  .list-item-detail {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
  }

  .order-no {
    font-size: 30px;
    color: #555;

    .key {
      color: #999;
      font-size: 26px;

      .space {
        display: inline-block;
        width: 24px;
      }
    }
  }

  .order-detail {
    color: #999;

    .iconfont {
      font-size: 24px;
      color: var(--color-primary) !important;
    }
  }

  .order-money-one {
    color: #999;
    font-size: 24px;
    text-align: right;

    .mark {
      color: #999 !important;
    }
  }

  .order-money-two {
    text-align: right;
    margin-top: 12px;
    color: #555;
    font-size: 24px;
  }

  .order-date {
    font-size: 28px;
    color: #999;
    line-height: 30px;
  }

  .member-info {
    height: 30px;
    display: flex;
  }

  .commission {
    font-size: 36px;
  }

  .goods-logo {
    width: 96px;
    height: 96px;
    border-radius: 10px;
  }

  .customer-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  }

  .customer-phone {
    font-size: 26px;
    color: #999;
    line-height: 30px;
  }

  &-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: $toolbar-height + 20px +40px;
    z-index: $z-index-level-3;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    border-top: 2px solid #efefef;
    color: #555;
    box-shadow: 0px -4px 4px rgba(229, 229, 229, 1);
    &-item {
      display: flex;
      justify-content: space-between;
      padding-bottom: 15px;
    }
  }

  .at-modal__footer {
    margin: 30px;
    color: var(--color-primary);

    .sp-page-confirm-scroll-button {
      width: 100%;
      margin: 20px;
      z-index: 100;
    }
  }

  .at-modal__content {
    padding-top: 0;
    .at-list__item {
      padding: 16px 0 0 0;
    }

    .at-list__item-extra {
      min-width: fit-content !important;
    }
    .at-input {
      margin: 0;
    }
  }
  .at-modal__footer::before {
    border-top: 0px;
  }
  .at-input__container {
    input {
      padding: 10px 10px;
      border-radius: 12px;
      background-color: #f5f6f8;
    }
  }

  .at-input:after {
    border: none;
  }
}
